home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-02-05 | 2.1 KB | 79 lines | [TEXT/MPS ] |
- #---------------------------------------------------------------------
- #
- # MakeFile for XWindShell XCMD
- #
- # Copyright © 1989-92 Apple Computer, Inc.
- #
- #
- # This makefile depends on a .r file called XWindShell.r to act
- # as a source for the resource compiler.
- #
- # The files included with the XWindShell XCMD are meant to be
- # used as a starting point for XCMDs in C or Pascal that wish to
- # create and manage XWindows.
- #
- # Files:
- # ------
- # XWindShell.p
- # XWindShell.r
- # *MakeFile
- #
- #
- # Authors: Andy Stadler/Darin Acquistapace
- # Created: 04/11/89
- # Modified: See Mod History Below
- #
- # Modification History:
- # ---------------------
- # 04/11/89 - New today.
- # 12/05/91 - Revised slightly. Updated header info.
- #
- #------------------------------------------------------------------
-
-
- #------------------------------------------------------------------
- # Defaults
- #------------------------------------------------------------------
-
- TargetXCMD = XWindShell
- TargetObjs = XWindShell.p.obj
- AOptions =
- POptions = -r -saddr -noload -i ::Interfaces:PIIGSIncludes:
- LOptions = -x
- ROptions = -i "{MPW}Interfaces:RIIGSIncludes"
-
- .a.obj ƒ .a
- asmiigs {AOptions} {default}.a -o {default}.a.obj
-
-
- .p.obj ƒ .p
- pascaliigs {POptions} {default}.p -o {default}.p.obj
-
-
- #------------------------------------------------------------------
- # The pascal compiler will output 3 segments: main, containing
- # code; and ~globals and ~arrays containing data. This line
- # ensures that everything gets put back into the main segment.
- #------------------------------------------------------------------
-
- SegsToMain = -lseg main ∂
- {TargetObjs} ∂
- "{PIIGSLibraries}"PLib
-
-
- #------------------------------------------------------------------
- # Main build rules
- #------------------------------------------------------------------
-
- {TargetXCmd} ƒ {TargetXCmd}.omf {TargetXCmd}.r
- reziigs {TargetXCmd}.r {ROptions} -o {targetXCmd}.rsrc
- duplicateiigs -y -m {targetXCmd}.rsrc :
-
- {TargetXCmd}.omf ƒ {TargetObjs}
- flush
- linkiigs {TargetObjs} ∂
- {LOptions} ∂
- {SegsToMain} ∂
- -lib "{PIIGSLibraries}"PLib ∂
- -o {TargetXCmd}.omf
-